require "UnLua"

local UMG_BoukenHUD_C = Class()

function UMG_BoukenHUD_C:Construct()
    local Pawn = self:GetOwningPlayerPawn()
    if not Pawn then
        return
    end
    local Controller = Pawn:GetController()
    if not Controller then
        return
    end
    local PlayerState = Controller.PlayerState
    if not PlayerState then
        return
    end
    local HealthAttributes = PlayerState.HealthAttributes
    if not HealthAttributes then
        return
    end
    print(HealthAttributes)
end

return UMG_BoukenHUD_C
